Skip to content

Allow explicitly configured scoped acceptance request budgets - #34

Merged
AppSolves merged 1 commit into
mainfrom
fix/scoped-operator-review-budget
Nov 15, 2026
Merged

AppSolves merged 1 commit into
mainfrom
fix/scoped-operator-review-budget

Conversation

@AppSolves

Copy link
Copy Markdown
Owner

The operator explicitly requested raising the disposable acceptance budget immediately after the initial 16 requests were exhausted. A quota-only policy PR still needs a genuine AI review under the required App check, so protected policy cannot bootstrap itself when its existing budget is exhausted.

Add disabled-by-default ACCEPTANCE_USER_PER_DAY operator configuration, bounded to 1–1000 and applied only when BOTH existing acceptance installation/repository IDs match independently verified request identity. It changes only the per-user admission limit for that exact disposable tenant. Keep every counter, duplicate/cooldown/rerun/repository/installation/concurrency limit, authorization, credential boundary and protected-branch/AI approval requirement. Public callers cannot supply this configuration. Rejection reports use the effective limit; persisted protected review/merge policy remains unchanged for independent publication checks. Clear the temporary configuration once the normal quota-only policy PR is merged.

No D1 migration, credential, Environment, reusable-workflow or runner change. Keep the current strict trusted pin during caller cutover; never accept alternative pins together.

Validation: full Node 24 check (198 tests), including exact repository+installation isolation, default policy retention, no counter reset and invalid configuration rejection. Full CI required before normal merge/deployment.

@AppSolves
AppSolves merged commit 8dd88f6 into main Nov 15, 2026
4 checks passed
@AppSolves
AppSolves deleted the fix/scoped-operator-review-budget branch November 15, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant